package com.seagox.chat.chat.controller;

import com.seagox.chat.chat.service.IEmojiService;
import com.seagox.chat.common.ResultData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * 表情
 */
@RestController
@RequestMapping("/emoji")
public class EmojiController {

    @Autowired
    private IEmojiService emojiService;

    /**
     * 查询所有数据
     */
    @GetMapping("/queryAllData")
    public ResultData queryAllData() {
        return emojiService.queryAllData();
    }

}

